package com.xxxx.crm.dao;

import com.xxxx.crm.base.BaseMapper;
import com.xxxx.crm.vo.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RoleMapper extends BaseMapper<Role,Integer> {

    //查询所有角色列表
    List<Map<String,Object>> queryAllRoles(Integer userId);

    Role selectByRoleName(String roleName);
}